<template>
	<view class="wrap">
		<image :src="license" mode="widthFix" @click="previewImg"></image>
	</view>
</template>

<script>
export default {
	data () {
		return {
			license: ''
		}
	},
	onLoad(options) {
		this.license = options.license
	},
	methods: {
		previewImg() {
			uni.previewImage({
				urls: [this.license],
				current: this.license
			})
		}
	}
}
</script>

<style scoped lang="scss">
image {
	width: 750rpx;
}
</style>
